package com.yyfax.pay.third.model.to.fuioudeposit;

import javax.persistence.Transient;

import com.yyfax.pay.common.annotation.Alias;

/**
 * 富友存管协议绑定确认 第三方请求参数
 * 
 * @author buyi
 * @date 2018-06-19 19:12:09
 * @since v2.2.2
 */
public class ProtocolSigningReq {

	/**
	 * 版本号
	 */
	@Alias("ver")
	private String ver = "1.01";

	/**
	 * 接口编码，默认signSms
	 */
	@Alias("code")
	private String code = "signing";

	/**
	 * 商户号
	 */
	@Alias("mchnt_cd")
	private String mchntCd;

	/**
	 * 流水号
	 */
	@Alias("mchnt_txn_ssn")
	private String mchntTxnSsn;

	/**
	 * 用户登录id
	 */
	@Alias("login_id")
	private String loginId;

	/**
	 * 银行卡持有人姓名
	 */
	@Alias("card_nm")
	private String cardNm;

	/**
	 * 银行卡号
	 */
	@Alias("card_no")
	private String cardNo;

	/**
	 * 证件类型，默认为0
	 */
	@Alias("id_tp")
	private String idTp = "0";

	/**
	 * 证件号
	 */
	@Alias("id_no")
	private String idNo;

	/**
	 * 手机号
	 */
	@Alias("mobile")
	private String mobile;

	/**
	 * 协议有效期，最大36
	 */
	@Alias("indate_num")
	private String indateNum;

	/**
	 * 交易时间，这个时间以富友存管返回的参数为准，因为富友是根据“商户号+订单号+时间”确定一笔交易
	 */
	@Alias("txn_date")
	private String txnDate;
	/**
	 * 短信验证码
	 */
	@Alias("sms_cd")
	private String smsCd;

	/**
	 * 盐值
	 */
	@Alias("salt")
	private String salt;

	/**
	 * 扩展字段1
	 */
	@Alias("reserve1")
	private String reserve1 = "";

	/**
	 * 扩展字段2
	 */
	@Alias("reserve2")
	private String reserve2 = "";

	/**
	 * 签名串
	 */
	@Transient
	@Alias("signature")
	private String signature;

	public String getVer() {
		return ver;
	}

	public void setVer(String ver) {
		this.ver = ver;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMchntCd() {
		return mchntCd;
	}

	public void setMchntCd(String mchntCd) {
		this.mchntCd = mchntCd;
	}

	public String getMchntTxnSsn() {
		return mchntTxnSsn;
	}

	public void setMchntTxnSsn(String mchntTxnSsn) {
		this.mchntTxnSsn = mchntTxnSsn;
	}

	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public String getCardNm() {
		return cardNm;
	}

	public void setCardNm(String cardNm) {
		this.cardNm = cardNm;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getIdTp() {
		return idTp;
	}

	public void setIdTp(String idTp) {
		this.idTp = idTp;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getIndateNum() {
		return indateNum;
	}

	public void setIndateNum(String indateNum) {
		this.indateNum = indateNum;
	}

	public String getTxnDate() {
		return txnDate;
	}

	public void setTxnDate(String txnDate) {
		this.txnDate = txnDate;
	}

	public String getSmsCd() {
		return smsCd;
	}

	public void setSmsCd(String smsCd) {
		this.smsCd = smsCd;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getReserve1() {
		return reserve1;
	}

	public void setReserve1(String reserve1) {
		this.reserve1 = reserve1;
	}

	public String getReserve2() {
		return reserve2;
	}

	public void setReserve2(String reserve2) {
		this.reserve2 = reserve2;
	}

	public String getSignature() {
		return signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}
}
